<template>
  <n-code language="json" :code="JSON.stringify(query, null, 2)"></n-code>
</template>

<script setup lang="ts">
defineOptions({
  name: "Other",
  inheritAttrs: false,
});
import { useRoute } from "vue-router";

// 获取query参数
const query = useRoute().query;
</script>
